#include <math.h>
#include "Point.h"

float distance(point a, point b);

float distance(point a, point b)
{
	float dx = a.x - b.x, dy = a.y - b.y;
	return sqrt(dx*dx + dy*dy);
}

int main()
{
	point x = { 1.0, 9.0 },
		  y = { 5.0, 5.0 };
	printf("%f\n", distance(x, y));
	return 0;
}
